setEnterSharedElementCallback

When makeSceneTransitionAnimation was used to start an Activity, callback will be called to handle shared elements on the launched Activity. This requires FEATURE_CONTENT_TRANSITIONS.

Parameters

activity

activity for which to set the callback.

callback

Used to manipulate shared element transitions on the launched Activity.